- page_title _('Projects')
- add_page_specific_style 'page_bundles/search'
- add_page_specific_style 'page_bundles/projects'
- params[:visibility_level] ||= []

- if show_transition_to_jihu_callout?
  .js-jh-transition-banner{ data: { feature_name: Users::CalloutsHelper::TRANSITION_TO_JIHU_CALLOUT,
    user_preferred_language: current_user.preferred_language} }

= render ::Layouts::PageHeadingComponent.new(_('Projects'), options: { data: { event_tracking_load: 'true', event_tracking: 'view_admin_projects_pageload' } }) do |c|
  - c.with_actions do
    - if current_user.can_admin_all_resources?
      = link_button_to new_project_path, variant: :confirm do
        = _('New Project')

#js-admin-projects-app{ data: { app_data: admin_projects_app_data } }
